package cn.wolfcode.shop.service;

import cn.wolfcode.shop.domain.OrderInfo;
import cn.wolfcode.shop.exception.GlobalException;

/**
 * Created by wolfcode-lanxw
 */
public interface ISeckillService {
    OrderInfo doSeckill(Long userId,Long goodId) throws GlobalException;

    void syncStock(Long goodId);
}
